<!DOCTYPE HTML>
<html>
<head>
<title>/JumpToDefOnUnused.dhall</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&amp;family=Lato:ital,wght@0,400;0,700;1,400&amp;display=swap">
<script src="index.js">
</script>
<meta charset="UTF-8">
</head>
<body>
<div class="nav-bar">
<img class="dhall-icon" alt="Dhall logo." src="dhall-icon.svg">
<p class="package-title">test-package</p>
<div class="nav-bar-content-divider">
</div>
<a id="switch-light-dark-mode" class="nav-option">Switch Light/Dark Mode</a>
</div>
<div class="main-container">
<h2 class="doc-title">
<span class="crumb-divider">/</span>
<a href="index.html">test-package</a>
<span class="crumb-divider">/</span>
<span class="title-crumb" href="index.html">JumpToDefOnUnused.dhall</span>
</h2>
<a class="copy-to-clipboard" data-path="/JumpToDefOnUnused.dhall">
<i>
<small>Copy path to clipboard</small>
</i>
</a>
<br>
<div class="doc-contents">
<p>
<code>dhall-docs</code> will detect some names (record fields, let-bindings and lam-bindings)
are unused and therefore won&#39;t be highlighted</p>
</div>
<h3>Source</h3>
<div class="source-code">
<pre>{-|<br>`dhall-docs` will detect some names (record fields, let-bindings and lam-bindings)<br>are unused and therefore won&#39;t be highlighted<br>-}<br>
<br>let unused = 1<br>let <span id="var7-5" class="name-decl" data-name="var7-5">used</span> = 3<br>
<br>let unusedRecord = { foo = 1 }<br>let <span id="var10-5" class="name-decl" data-name="var10-5">usedRecord</span> = { <span id="var10-20" class="name-decl" data-name="var10-20">foo</span> = 1 }<br>
<br>let <span id="var12-5" class="name-decl" data-name="var12-5">f</span> =<br>       \(unused : Bool)<br>    -&gt; \(<span id="var14-10" class="name-decl" data-name="var14-10">used</span> : Natural)<br>    -&gt; \(<span id="var15-10" class="name-decl" data-name="var15-10">r</span> : { unused : Text, <span id="var15-31" class="name-decl" data-name="var15-31">used</span> : Natural}) -&gt; <a href="#var14-10" class="name-use" data-name="var14-10">used</a> + <a href="#var15-10" class="name-use" data-name="var15-10">r</a>.<a href="#var15-31" class="name-use" data-name="var15-31">used</a>
<br>
<br>in <a href="#var7-5" class="name-use" data-name="var7-5">used</a> + <a href="#var10-5" class="name-use" data-name="var10-5">usedRecord</a>.<a href="#var10-20" class="name-use" data-name="var10-20">foo</a> + <a href="#var12-5" class="name-use" data-name="var12-5">f</a> True 1 { unused = &quot;foo&quot;, used = 3 }<br>
</pre>
</div>
</div>
</body>
</html>